package dreamdancetiktokmodelmysql

import (
	"gorm.io/gorm"
	"time"
)

// 每日商店表
type DanceDailyStore struct {
	Id                  int64          `gorm:"primaryKey;autoIncrement;comment:id" json:"id"`
	No                  int64          `json:"no" gorm:"column:no;type:bigint;default:0;not null;comment:元素编号"`
	Weight              int64          `json:"weight" gorm:"column:weight;type:int;default:0;not null;comment:权重"` // 权重
	GiftId              string         `json:"giftId" gorm:"column:gift_id;type:varchar(256);not null;default:'';comment:礼物id"`
	GiftNum             int64          `json:"giftNum" gorm:"column:gift_num;type:int;default:0;not null;comment:礼物数量"`
	ClientTranslationId int64          `json:"clientTranslationId" gorm:"column:client_translation_id;type:int;default:0;not null;comment:客户端翻译id"`
	CreatedAt           time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt           time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt           gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
	IsUse               int64          `gorm:"-" json:"isUse"`
}
